package pers.gxm.bridge;

public class RandomDisplay extends CountDisplay{
    public RandomDisplay(DisplayImpl impl) {
        super(impl);
    }

    /**
     *  times是最大可能重复次数
     * @param times
     */
    public void randomDisplay(int times){
        int count = (int)(Math.random() * times);
        System.out.println(count);
        multiDisplay(count);
    }
}
